From: Xie He Date: Fri, 18 Sep 2020 13:56:16 +0000 (-0700) Subject: net/packet: Fix a comment about network_header X-Git-Tag: howlett/maple_spf/20210104~792^2~201 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=09599729ee1ae9c418c0bd0fd48efff8a98d1c4d;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Xie He Signed-off-by: David S. Miller --- 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. */