tmp_suning_uos_patched/net
David Miller 7026b1ddb6 netfilter: Pass socket pointer down through okfn().
On the output paths in particular, we have to sometimes deal with two
socket contexts.  First, and usually skb->sk, is the local socket that
generated the frame.

And second, is potentially the socket used to control a tunneling
socket, such as one the encapsulates using UDP.

We do not want to disassociate skb->sk when encapsulating in order
to fix this, because that would break socket memory accounting.

The most extreme case where this can cause huge problems is an
AF_PACKET socket transmitting over a vxlan device.  We hit code
paths doing checks that assume they are dealing with an ipv4
socket, but are actually operating upon the AF_PACKET one.

Signed-off-by: David S. Miller <davem@davemloft.net>
2015-04-07 15:25:55 -04:00
..
6lowpan
9p
802
8021q vlan: implement ndo_get_iflink 2015-04-02 14:05:00 -04:00
appletalk
atm
ax25
batman-adv dev: introduce dev_get_iflink() 2015-04-02 14:04:59 -04:00
bluetooth Bluetooth: Fix location of TX power field in LE advertising data 2015-04-04 08:50:20 +03:00
bridge netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
caif
can can: introduce new raw socket option to join the given CAN filters 2015-04-01 11:28:22 +02:00
ceph
core netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
dcb
dccp inet: fix double request socket freeing 2015-03-23 21:40:48 -04:00
decnet netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
dns_resolver
dsa Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-04-06 22:34:15 -04:00
ethernet
hsr
ieee802154
ipv4 netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
ipv6 netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
ipx
irda
iucv Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-04-02 16:16:53 -04:00
key xfrm: simplify xfrm_address_t use 2015-03-31 13:58:35 -04:00
l2tp Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-04-06 22:34:15 -04:00
lapb
llc
mac80211 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-04-02 16:16:53 -04:00
mac802154 mac802154: cleanup concurrent check 2015-03-27 19:18:50 +01:00
mpls
netfilter netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
netlabel netlink: implement nla_put_in_addr and nla_put_in6_addr 2015-03-31 13:58:35 -04:00
netlink rhashtable: provide len to obj_hashfn 2015-03-25 17:18:33 +01:00
netrom
nfc
openvswitch Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-04-02 16:16:53 -04:00
packet af_packet: pass checksum validation status to the user 2015-03-23 22:01:28 -04:00
phonet
rds
rfkill
rose
rxrpc
sched pkt_sched: fq: correct spelling of locally 2015-04-01 22:52:29 -04:00
sctp sctp: avoid to repeatedly declare external variables 2015-03-25 11:40:16 -04:00
sunrpc sunrpc: make debugfs file creation failure non-fatal 2015-03-31 14:15:08 -04:00
switchdev switchdev: fix stp update API to work with layered netdevices 2015-03-23 16:44:56 -04:00
tipc tipc: simplify link mtu negotiation 2015-04-02 16:27:12 -04:00
unix
vmw_vsock
wimax
wireless Lots of updates for net-next; along with the usual flurry 2015-03-31 16:39:04 -04:00
x25
xfrm netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
compat.c net: socket: add support for async operations 2015-03-23 16:41:36 -04:00
Kconfig
Makefile
socket.c net: socket: add support for async operations 2015-03-23 16:41:36 -04:00
sysctl_net.c