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
..
2014-12-03 12:43:36 +01:00
2015-04-07 15:25:55 -04:00
2015-04-04 12:31:38 -04:00
2015-03-25 12:09:39 +01:00
2014-11-27 13:08:42 +01:00
2015-03-18 10:51:35 +01:00
2015-02-22 15:59:54 -05:00
2015-01-15 01:50:25 -05:00
2014-06-25 19:15:38 +02:00
2015-03-18 10:51:35 +01:00
2014-10-14 02:18:24 +02:00
2014-11-17 12:47:14 +01:00
2014-10-30 17:35:30 +01:00
2014-11-05 14:10:33 -05:00
2015-01-08 12:14:20 +01:00
2014-04-08 10:56:12 +02:00
2014-11-05 14:10:33 -05:00
2014-11-05 14:10:33 -05:00
2014-11-05 14:10:33 -05:00
2014-11-05 14:10:33 -05:00
2014-12-08 20:39:29 -05:00
2014-11-05 14:10:33 -05:00
2014-11-05 14:10:33 -05:00
2014-01-03 23:41:37 +01:00
2015-01-05 13:52:20 +01:00
2014-10-14 02:18:24 +02:00
2014-11-05 14:11:02 -05:00
2013-12-20 14:58:29 +01:00
2015-04-04 12:17:40 -04:00
2015-03-17 15:17:59 -04:00
2015-03-19 11:14:48 +01:00
2014-08-23 12:21:21 -07:00
2014-01-06 14:17:17 +01:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2014-11-27 13:08:42 +01:00
2014-10-14 02:18:24 +02:00
2015-04-07 15:25:55 -04:00
2014-08-08 16:47:23 +02:00
2014-02-05 17:46:06 +01:00
2015-03-26 11:09:35 +01:00
2015-03-26 11:09:35 +01:00
2014-01-09 23:25:48 +01:00
2014-08-26 21:36:19 +02:00
2015-03-12 13:07:36 +01:00
2013-10-01 13:17:39 +02:00
2015-03-23 22:02:46 -04:00
2015-04-04 12:25:22 -04:00
2015-01-15 01:50:25 -05:00
2013-10-14 17:16:08 +02:00
2013-10-14 17:16:08 +02:00
2014-04-14 10:38:02 +02:00
2015-03-23 22:22:43 -04:00
2013-10-14 17:16:08 +02:00
2014-04-02 21:29:45 +02:00
2013-10-14 17:16:08 +02:00
2013-12-20 11:25:10 +01:00
2015-03-26 11:09:35 +01:00
2014-03-08 12:35:17 +01:00
2013-10-14 17:16:08 +02:00
2015-03-25 12:09:39 +01:00
2015-03-26 11:09:34 +01:00
2015-01-19 14:52:39 +01:00
2015-03-25 12:09:40 +01:00
2015-01-19 14:52:39 +01:00
2014-02-17 11:21:17 +01:00
2014-02-06 11:41:38 +01:00
2015-03-26 11:09:35 +01:00
2015-01-19 14:52:39 +01:00
2015-03-03 02:10:35 +01:00
2014-10-07 20:16:31 +02:00
2014-11-05 14:11:02 -05:00
2014-03-13 14:13:19 +01:00
2014-08-02 15:03:58 -07:00
2014-08-19 21:38:55 +02:00
2014-08-23 12:21:21 -07:00
2014-09-10 12:40:10 -07:00
2014-11-17 12:44:20 +01:00
2013-12-06 12:37:57 -05:00
2014-02-05 17:46:06 +01:00
2014-11-13 12:14:42 +01:00
2014-11-05 14:11:02 -05:00
2014-08-23 12:21:21 -07:00
2014-02-19 11:41:25 +01:00
2014-01-09 21:36:39 +01:00
2014-08-05 18:46:26 -07:00
2014-06-28 18:50:35 +02:00
2014-04-29 18:25:14 +02:00
2013-12-07 23:20:45 +01:00
2014-12-23 14:20:10 +01:00
2015-03-16 14:35:02 +01:00
2014-09-30 01:02:26 -04:00
2015-02-16 17:00:47 +01:00
2014-11-27 13:08:42 +01:00
2014-06-07 11:44:39 -07:00
2015-02-11 16:13:30 +01:00
2015-03-17 15:17:59 -04:00
2014-01-14 15:15:25 -08:00
2015-02-22 15:59:54 -05:00
2015-03-23 22:22:43 -04:00