diff options
author | Jiri Olsa <jolsa@redhat.com> | 2010-09-21 21:17:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-22 13:13:34 -0700 |
commit | cbdd769ab9de26764bde0520a91536caa1587e13 (patch) | |
tree | 7a15d114613de0e8e374151628102a76562ebbbd /include | |
parent | d6120b8afacec587f5feb37781bc751bc5d68a10 (diff) | |
download | linux-stable-cbdd769ab9de26764bde0520a91536caa1587e13.tar.gz linux-stable-cbdd769ab9de26764bde0520a91536caa1587e13.tar.bz2 linux-stable-cbdd769ab9de26764bde0520a91536caa1587e13.zip |
netfilter: nf_conntrack_defrag: check socket type before touching nodefrag flag
we need to check proper socket type within ipv4_conntrack_defrag
function before referencing the nodefrag flag.
For example the tun driver receive path produces skbs with
AF_UNSPEC socket type, and so current code is causing unwanted
fragmented packets going out.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions