gso: Handle Trans-Ether-Bridging protocol in skb_network_protocol()
authorPravin B Shelar <pshelar@nicira.com>
Tue, 7 May 2013 20:41:07 +0000 (20:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 May 2013 20:13:30 +0000 (13:13 -0700)
commit19acc327258ac5bcd0f31c07853e6d9784010fb4
tree4079bd2f20e09ebc1f9b23b2eef4ec6976801c74
parent54309fa60b5f57b90c1842176f6045e665d21142
gso: Handle Trans-Ether-Bridging protocol in skb_network_protocol()

Rather than having logic to calculate inner protocol in every
tunnel gso handler move it to gso code. This simplifies code.

Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Cong Wang <amwang@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/ipv4/gre.c
net/ipv4/udp.c