You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iph
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
e023dd6437
commit
eddc9ec53b
+1
-1
@@ -715,7 +715,7 @@ static void mpc_push(struct atm_vcc *vcc, struct sk_buff *skb)
|
||||
new_skb->protocol = eth_type_trans(new_skb, dev);
|
||||
skb_reset_network_header(new_skb);
|
||||
|
||||
eg->latest_ip_addr = new_skb->nh.iph->saddr;
|
||||
eg->latest_ip_addr = ip_hdr(new_skb)->saddr;
|
||||
eg->packets_rcvd++;
|
||||
mpc->eg_ops->put(eg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user