aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/net.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2013-04-17 06:18:27 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-17 14:18:33 -0400
commit76f5c6f359a18abd3359ad8523cb23fbf58602b7 (patch)
tree6c29cc90b9c90f35664a9433d8af6ef943120a88 /net/tipc/net.h
parent8aeb89f214cdb4c3d9e43213d52d4c5b0fb93bbb (diff)
downloadkernel_goldelico_gta04-76f5c6f359a18abd3359ad8523cb23fbf58602b7.zip
kernel_goldelico_gta04-76f5c6f359a18abd3359ad8523cb23fbf58602b7.tar.gz
kernel_goldelico_gta04-76f5c6f359a18abd3359ad8523cb23fbf58602b7.tar.bz2
tipc: set skb->protocol in eth_media packet transmission
The skb->protocol field is used by packet classifiers and for AF_PACKET cooked format, TIPC needs to set it properly. Fixes packet classification and ethertype of 0x0000 in cooked captures: Out 20:c9:d0:43:12:d9 ethertype Unknown (0x0000), length 56: 0x0000: 5b50 0028 0000 30d4 0100 1000 0100 1001 [P.(..0......... 0x0010: 0000 03e8 0000 0001 20c9 d043 12d9 0000 ...........C.... 0x0020: 0000 0000 0000 0000 ........ Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/net.h')
0 files changed, 0 insertions, 0 deletions