net: Add net protocol offload registration infrustructure
authorVlad Yasevich <vyasevic@redhat.com>
Thu, 15 Nov 2012 08:49:12 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2012 22:36:17 +0000 (17:36 -0500)
commitde27d001d187721de775ed9e0c485aa6f517c745
tree08947ffb402922f7384e61563d201761171fdbb1
parent22061d8014455b01eb018bd6c35a1b3040ccc230
net: Add net protocol offload registration infrustructure

Create a new data structure for IPv4 protocols that holds GRO/GSO
callbacks and a new array to track the protocols that register GRO/GSO.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/protocol.h
net/ipv4/af_inet.c
net/ipv4/protocol.c