diff options
| author | Pan Bian <[email protected]> | 2017-04-23 06:28:37 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-24 19:51:30 +0000 |
| commit | a50fe0ffd76fbd17af36209a16caf0b8ad901fef (patch) | |
| tree | a948f0c673aedde2585c8f243a88e0c0bbbeae9f /net/tipc/node.c | |
| parent | Merge branch 'nfp-dma-adjust_head-fixes' (diff) | |
| download | kernel-a50fe0ffd76fbd17af36209a16caf0b8ad901fef.tar.gz kernel-a50fe0ffd76fbd17af36209a16caf0b8ad901fef.zip | |
lwtunnel: check return value of nla_nest_start
Function nla_nest_start() may return a NULL pointer on error. However,
in function lwtunnel_fill_encap(), the return value of nla_nest_start()
is not validated before it is used. This patch checks the return value
of nla_nest_start() against NULL.
Signed-off-by: Pan Bian <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
