[PATCH 3/5] tipc: set skb->protocol in eth_media packet transmission

2013-04-17 Thread Patrick McHardy
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 0x in cooked captures: Out 20:c9:d0:43:12:d9 ethertype Unknown (0x), length 56: 0x: 5b50 0028 30d4 0100 1000

[PATCH 3/5] tipc: set skb->protocol in eth_media packet transmission

2013-04-03 Thread Patrick McHardy
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 0x in cooked captures: Out 20:c9:d0:43:12:d9 ethertype Unknown (0x), length 56: 0x: 5b50 0028 30d4 0100 1000