Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

Commit

Permalink
openvswitch: fix kernel 4.4 patch for pre-4.4 kernels
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Ardelean <[email protected]>
  • Loading branch information
commodo committed Mar 20, 2016
1 parent 8eae248 commit 6cb655e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/openvswitch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=openvswitch

PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_VERSION:=2.5.0
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_LICENSE:=Apache-2.0
Expand Down
2 changes: 1 addition & 1 deletion net/openvswitch/patches/0011-kernel-4-4-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6cb655e

Please sign in to comment.