Revert "netfilter: br_netfilter: fix panic with metadata_dst skb"
This reverts commit 61d2ade0cb
.
This commit is contained in:
parent
6a3d675362
commit
e804fa0001
1 changed files with 0 additions and 5 deletions
|
@ -33,7 +33,6 @@
|
|||
#include <net/ip.h>
|
||||
#include <net/ipv6.h>
|
||||
#include <net/addrconf.h>
|
||||
#include <net/dst_metadata.h>
|
||||
#include <net/route.h>
|
||||
#include <net/netfilter/br_netfilter.h>
|
||||
#include <net/netns/generic.h>
|
||||
|
@ -754,10 +753,6 @@ static int br_nf_dev_queue_xmit(struct net *net, struct sock *sk, struct sk_buff
|
|||
return br_dev_queue_push_xmit(net, sk, skb);
|
||||
}
|
||||
|
||||
/* Fragmentation on metadata/template dst is not supported */
|
||||
if (unlikely(!skb_valid_dst(skb)))
|
||||
goto drop;
|
||||
|
||||
/* This is wrong! We should preserve the original fragment
|
||||
* boundaries by preserving frag_list rather than refragmenting.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue