diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-04-18 16:06:53 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-04-19 06:49:00 +0200 |
commit | ffa6f571e4e20bbe5b3d8b5e112e66b3b6c29632 (patch) | |
tree | 921ec9ab617b8a08d741d3d66ec196faa5f0d22e /net/ipv4/esp4_offload.c | |
parent | xfrm: Prepare the GRO codepath for hardware offloading. (diff) | |
download | linux-ffa6f571e4e20bbe5b3d8b5e112e66b3b6c29632.tar.xz linux-ffa6f571e4e20bbe5b3d8b5e112e66b3b6c29632.zip |
esp6: fix incorrect null pointer check on xo
The check for xo being null is incorrect, currently it is checking
for non-null, it should be checking for null.
Detected with CoverityScan, CID#1429349 ("Dereference after null check")
Fixes: 7862b4058b9f ("esp: Add gso handlers for esp4 and esp6")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv4/esp4_offload.c')
0 files changed, 0 insertions, 0 deletions