aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rwsem-spinlock.c
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2012-12-20 10:12:52 -0500
committerDavid S. Miller <davem@davemloft.net>2012-12-21 16:14:00 -0500
commit412ed94744d16806fbec3bd250fd94e71cde5a1f (patch)
tree092eb88bc8d798797354bdaa8db95c26faa35f6b /lib/rwsem-spinlock.c
parent29042073e7af55334ac3c4f2a8340263200c5749 (diff)
ip_gre: make ipgre_tunnel_xmit() not parse network header as IP unconditionally
ipgre_tunnel_xmit() parses network header as IP unconditionally. But transmitting packets are not always IP packet. For example such packet can be sent by packet socket with sockaddr_ll.sll_protocol set. So make the function check if skb->protocol is IP. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions