]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50ba8092352ae453a259e555e8c1cc96b471e16b
tree4079bd2f20e09ebc1f9b23b2eef4ec6976801c74
parent56eda0ecca2749254460ce57f3801a5fd88545b1
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