[PATCH 3.13.y-ckt 71/78] packet: tpacket_snd(): fix signed/unsigned comparison

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Drozdov commit dbd46ab412b8fb395f2b0ff6f6a7eec9df311550 upstream. tpacket_fill_skb() can return a negative value (-errno) which is stored in tp_len variable. In that case

[PATCH 3.13.y-ckt 71/78] packet: tpacket_snd(): fix signed/unsigned comparison

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Drozdov commit dbd46ab412b8fb395f2b0ff6f6a7eec9df311550 upstream. tpacket_fill_skb() can return a negative value (-errno) which is stored in tp_len