diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2014-05-05 03:39:18 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-12 22:03:41 +0400 |
commit | 60ff746739bf805a912484643c720b6124826140 (patch) | |
tree | 13a1ac633a87fb23694182beb6541ff84e635e0b /net/ipv4/ip_forward.c | |
parent | 5f013c9bc70214dcacd5fbed5a06c217d6ff9c59 (diff) | |
download | linux-60ff746739bf805a912484643c720b6124826140.tar.xz |
net: rename local_df to ignore_df
As suggested by several people, rename local_df to ignore_df,
since it means "ignore df bit if it is set".
Cc: Maciej Żenczykowski <maze@google.com>
Cc: Florian Westphal <fw@strlen.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_forward.c')
-rw-r--r-- | net/ipv4/ip_forward.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_forward.c b/net/ipv4/ip_forward.c index 6f111e48e11c..3a83ce5efa80 100644 --- a/net/ipv4/ip_forward.c +++ b/net/ipv4/ip_forward.c @@ -42,7 +42,7 @@ static bool ip_may_fragment(const struct sk_buff *skb) { return unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0) || - skb->local_df; + skb->ignore_df; } static bool ip_exceeds_mtu(const struct sk_buff *skb, unsigned int mtu) |