summaryrefslogtreecommitdiff
path: root/net/batman-adv/netlink.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2018-05-07 21:08:52 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-09 05:30:06 +0300
commit04d55b257cbb9eb6c722410251d3b7df00835c6c (patch)
treefe8117ef2f429d2077c37b65cfc9b425dd43e09f /net/batman-adv/netlink.c
parent6053d0f189064302420930f9ef9022e24a04946a (diff)
downloadlinux-04d55b257cbb9eb6c722410251d3b7df00835c6c.tar.xz
udp: Do not copy destructor if one is not present
This patch makes it so that if a destructor is not present we avoid trying to update the skb socket or any reference counting that would be associated with the NULL socket and/or descriptor. By doing this we can support traffic coming from another namespace without any issues. Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/netlink.c')
0 files changed, 0 insertions, 0 deletions