diff options
author | Alexander Drozdov <al.drozdov@gmail.com> | 2015-02-17 13:33:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-20 15:22:38 -0500 |
commit | fba04a9e0c869498889b6445fd06cbe7da9bb834 (patch) | |
tree | 99c9b8245ae17b6d8f6ff04e2c5f989de26b03f5 /scripts/conmakehash.c | |
parent | 42c972a1f390e3bc51ca1e434b7e28764992067f (diff) | |
download | blackbird-obmc-linux-fba04a9e0c869498889b6445fd06cbe7da9bb834.tar.gz blackbird-obmc-linux-fba04a9e0c869498889b6445fd06cbe7da9bb834.zip |
ipv4: ip_check_defrag should correctly check return value of skb_copy_bits
skb_copy_bits() returns zero on success and negative value on error,
so it is needed to invert the condition in ip_check_defrag().
Fixes: 1bf3751ec90c ("ipv4: ip_check_defrag must not modify skb before unsharing")
Signed-off-by: Alexander Drozdov <al.drozdov@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/conmakehash.c')
0 files changed, 0 insertions, 0 deletions