|
|
@ -129,8 +129,8 @@ index cd87bcc..b749301 100644 |
|
|
|
unsigned int mtu = ip_skb_dst_mtu(skb); |
|
|
|
struct iphdr *iph = ip_hdr(skb); |
|
|
|
struct rtable *rt = skb_rtable(skb); |
|
|
|
+ NET_DECLARE_INIT(net, dev_net(dev));
|
|
|
|
struct net_device *dev = rt->dst.dev; |
|
|
|
+ NET_DECLARE_INIT(net, dev_net(dev));
|
|
|
|
|
|
|
|
if (unlikely(((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) || |
|
|
|
@@ -102,7 +115,7 @@ static inline int rpl_ip_do_fragment(struct sock *sk, struct sk_buff *skb,
|
|
|
|