Antonio Quartulli
8fb479a47c
netpoll: fix rx_hook() interface by passing the skb
...
Right now skb->data is passed to rx_hook() even if the skb
has not been linearised and without giving rx_hook() a way
to linearise it.
Change the rx_hook() interface and make it accept the skb
and the offset to the UDP payload as arguments. rx_hook() is
also renamed to rx_skb_hook() to ensure that out of the tree
users notice the API change.
In this way any rx_skb_hook() implementation can perform all
the needed operations to properly (and safely) access the
skb data.
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-10-25 19:26:58 -04:00
..
2013-09-26 14:02:33 -04:00
2013-10-10 09:23:59 -07:00
2013-09-16 20:35:55 +02:00
2013-09-12 11:35:33 -07:00
2013-09-17 11:49:25 +01:00
2013-10-17 09:34:30 -07:00
2013-09-11 15:58:04 -07:00
2013-09-30 14:31:02 -07:00
2013-09-11 15:59:04 -07:00
2013-09-21 13:57:47 -06:00
2013-09-11 15:56:57 -07:00
2013-09-11 15:58:25 -07:00
2013-10-11 07:39:14 +02:00
2013-09-13 15:09:52 +02:00
2013-09-11 15:59:10 -07:00
2013-09-20 10:36:34 -04:00
2013-10-07 15:16:45 -04:00
2013-09-12 10:12:47 -07:00
2013-09-13 23:06:40 -04:00
2013-09-11 15:57:35 -07:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:11:21 +02:00
2013-09-12 15:38:03 -07:00
2013-09-11 15:57:49 -07:00
2013-09-26 14:20:21 -07:00
2013-09-11 15:59:37 -07:00
2013-09-24 13:04:07 +02:00
2013-09-13 15:09:52 +02:00
2013-09-11 15:59:42 -07:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-09-20 15:38:26 -04:00
2013-09-11 15:58:52 -07:00
2013-09-17 12:52:31 +03:00
2013-09-11 15:59:45 -07:00
2013-09-11 15:57:51 -07:00
2013-10-16 21:35:53 -07:00
2013-09-11 15:57:48 -07:00
2013-09-13 10:55:58 -07:00
2013-09-26 11:03:29 +02:00
2013-09-11 15:58:01 -07:00
2013-09-13 10:55:58 -07:00
2013-09-12 15:38:03 -07:00
2013-09-11 15:58:01 -07:00
2013-09-28 12:46:21 +02:00
2013-10-07 12:29:26 -04:00
2013-10-25 19:26:58 -04:00
2013-09-26 10:20:18 -04:00
2013-09-24 21:12:32 -05:00
2013-09-15 17:41:30 -04:00
2013-10-04 09:58:53 +02:00
2013-09-11 15:59:36 -07:00
2013-09-11 15:59:37 -07:00
2013-09-23 06:35:06 -04:00
2013-09-11 15:59:20 -07:00
2013-09-12 15:38:02 -07:00
2013-10-16 21:35:53 -07:00
2013-09-12 09:25:23 -07:00
2013-09-30 22:32:39 -07:00
2013-09-24 17:00:25 -07:00
2013-09-12 15:38:02 -07:00
2013-09-11 15:58:25 -07:00
2013-10-10 12:31:43 -07:00
2013-10-16 13:32:04 -07:00
2013-10-11 15:19:22 +10:00
2013-09-11 15:57:09 -07:00
2013-09-11 15:58:01 -07:00
2013-09-11 15:58:02 -07:00
2013-10-17 15:53:09 -04:00