Skip to content

Commit 0959972

Browse files
Xie Hedavem330
Xie He
authored andcommitted
net/packet: Fix a comment about network_header
skb->nh.raw has been renamed as skb->network_header in 2007, in commit b0e380b ("[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 <[email protected]> Signed-off-by: Xie He <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a78766d commit 0959972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/packet/af_packet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ dev->header_ops == NULL (ll header is invisible to us)
142142
mac_header -> data
143143
data -> data
144144
145-
We should set nh.raw on output to correct posistion,
145+
We should set network_header on output to the correct position,
146146
packet classifier depends on it.
147147
*/
148148

0 commit comments

Comments
 (0)