On 08/17/15 at 02:11pm, Pravin B Shelar wrote: > @@ -403,6 +416,7 @@ static size_t geneve_get_size(const struct net_device > *dev) > nla_total_size(sizeof(struct in_addr)) + /* IFLA_GENEVE_REMOTE > */ > nla_total_size(sizeof(__u8)) + /* IFLA_GENEVE_TTL */ > nla_total_size(sizeof(__u8)) + /* IFLA_GENEVE_TOS */ > + nla_total_size(sizeof(__u16)) + /* IFLA_GENEVE_PORT */ > 0; > } > > @@ -423,6 +437,9 @@ static int geneve_fill_info(struct sk_buff *skb, const > struct net_device *dev) > nla_put_u8(skb, IFLA_GENEVE_TOS, geneve->tos)) > goto nla_put_failure; > > + if (nla_put_u32(skb, IFLA_GENEVE_PORT, ntohs(geneve->dst_port))) > + goto nla_put_failure;
nla_put_u16? -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html