summaryrefslogtreecommitdiff
path: root/trafgen_conf.h
AgeCommit message (Expand)AuthorFilesLines
2015-10-14trafgen: Move checking of dynamic packet elements to headerTobias Klauser1-0/+5
2015-10-13trafgen: Change signature of compile_packets() to match provided typesTobias Klauser1-1/+1
2015-10-13trafgen: Don't panic() on parser errorsTobias Klauser1-1/+1
2015-10-13trafgen: Add checksum helpers for TCP/UDP over IPv6Tobias Klauser1-0/+2
2013-06-04misc: cleanup header commentsDaniel Borkmann1-6/+0
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+55
lspan='2' class='oid'>040587af31228d82c52267f717c9fcdb65f36335 (diff)
net: thunderx: avoid dereferencing xcv when NULL
This fixes the following smatch and coccinelle warnings: drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/kcm')