diff options
author | Tom Herbert <therbert@google.com> | 2014-11-06 01:49:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-06 04:18:20 +0100 |
commit | e1b2cb655060e081e73b384b1fc8b2e978f73467 (patch) | |
tree | 46b69489a8af03acbccbdf5038ec0cf5854f8191 /net/ipv4/ip_gre.c | |
parent | r8152: disable the tasklet by default (diff) | |
download | linux-e1b2cb655060e081e73b384b1fc8b2e978f73467.tar.xz linux-e1b2cb655060e081e73b384b1fc8b2e978f73467.zip |
fou: Fix typo in returning flags in netlink
When filling netlink info, dport is being returned as flags. Fix
instances to return correct value.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
-rw-r--r-- | net/ipv4/ip_gre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 12055fdbe716..ac8491245e5b 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c @@ -789,7 +789,7 @@ static int ipgre_fill_info(struct sk_buff *skb, const struct net_device *dev) nla_put_u16(skb, IFLA_GRE_ENCAP_DPORT, t->encap.dport) || nla_put_u16(skb, IFLA_GRE_ENCAP_FLAGS, - t->encap.dport)) + t->encap.flags)) goto nla_put_failure; return 0; |