From: Antonio Quartulli Date: Wed, 23 Oct 2013 21:36:30 +0000 (+0200) Subject: netpoll: fix rx_hook() interface by passing the skb X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~67^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb479a47c869820966e7298f38038aa334d889c;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed