aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2014-01-29 16:08:59 +0000
committerDavid S. Miller <[email protected]>2014-01-31 00:25:48 +0000
commitb5aaab12b2b4bc4acab7384c17a87f3406e5047d (patch)
treec07e22943f2c0a05c3cde04f162b9b32cf95200f /drivers/net/xen-netback/interface.c
parentnet: eth: cpsw: Correctly attach to GPIO bitbang MDIO driver (diff)
downloadkernel-b5aaab12b2b4bc4acab7384c17a87f3406e5047d.tar.gz
kernel-b5aaab12b2b4bc4acab7384c17a87f3406e5047d.zip
net/ipv4: Use non-atomic allocation of udp offloads structure instance
Since udp_add_offload() can be called from non-sleepable context e.g under this call tree from the vxlan driver use case: vxlan_socket_create() <-- holds the spinlock -> vxlan_notify_add_rx_port() -> udp_add_offload() <-- schedules we should allocate the udp_offloads structure in atomic manner. Fixes: b582ef0 ('net: Add GRO support for UDP encapsulating protocols') Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions