diff options
author | Xie He <xie.he.0141@gmail.com> | 2020-09-18 16:56:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-20 02:40:48 +0300 |
commit | 09599729ee1ae9c418c0bd0fd48efff8a98d1c4d (patch) | |
tree | 10eca38f946723de321f623f8d4c5d9706686517 /net/packet/af_packet.c | |
parent | a78766d9375bcf1460450047c7565f1c9cd42614 (diff) | |
download | linux-09599729ee1ae9c418c0bd0fd48efff8a98d1c4d.tar.xz |
net/packet: Fix a comment about network_header
skb->nh.raw has been renamed as skb->network_header in 2007, in
commit b0e380b1d8a8 ("[SK_BUFF]: unions of just one member don't get
anything done, kill them")
So here we change it to the new name.
Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/af_packet.c')
-rw-r--r-- | net/packet/af_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index f59fa26d4826..cefbd50c1090 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -142,7 +142,7 @@ dev->header_ops == NULL (ll header is invisible to us) mac_header -> data data -> data - We should set nh.raw on output to correct posistion, + We should set network_header on output to the correct position, packet classifier depends on it. */ |