diff options
author | Amerigo Wang <amwang@redhat.com> | 2013-02-19 22:51:30 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-20 20:11:44 (GMT) |
commit | 68534c682e8f5c333f835818ca5a89d3e6288870 (patch) | |
tree | 5d5fd4ab1f3d0c33f3f4f654bf6328d3d7815e4b /include/net/netfilter | |
parent | c6b538079723efd21b5fd7e3091dc47dbd0436c4 (diff) | |
download | linux-fsl-qoriq-68534c682e8f5c333f835818ca5a89d3e6288870.tar.xz |
net: fix a wrong assignment in skb_split()
commit c9af6db4c11ccc6c3e7f1 (net: Fix possible wrong checksum generation)
has a suspicous piece:
- skb_shinfo(skb1)->gso_type = skb_shinfo(skb)->gso_type;
-
+ skb_shinfo(skb)->tx_flags = skb_shinfo(skb1)->tx_flags & SKBTX_SHARED_FRAG;
skb1 is the new skb, therefore should be on the left side of the assignment.
This patch fixes it.
Cc: Pravin B Shelar <pshelar@nicira.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter')
0 files changed, 0 insertions, 0 deletions