summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2011-04-08 12:07:22 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-11 13:20:49 -0700
commit5d9f11cf5038587cc53975deb8beaa1a876a7a7b (patch)
treea3a3705f4ec33b0c8de803d82c8107a4b921b768 /net/socket.c
parent8d7dfc2b57bb2cad0731dedd58ec1d70bcca1ccf (diff)
downloadlinux-3.10-5d9f11cf5038587cc53975deb8beaa1a876a7a7b.tar.gz
linux-3.10-5d9f11cf5038587cc53975deb8beaa1a876a7a7b.tar.bz2
linux-3.10-5d9f11cf5038587cc53975deb8beaa1a876a7a7b.zip
ethtool: prevent null pointer dereference with NTUPLE set but no set_rx_ntuple
This change is meant to prevent a possible null pointer dereference if NETIF_F_NTUPLE is defined but the set_rx_ntuple function pointer is not. The main motivation behind this patch is to eventually replace the ntuple interfaces entirely with the network flow classifier interfaces. This allows the device drivers to maintain the ntuple check internally while using the network flow classifier interface for setting up and displaying rules. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions