tcp: tcp_sendmsg() wrong access to sk_route_caps
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 28 Nov 2011 00:27:47 +0000 (00:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2011 23:58:24 +0000 (18:58 -0500)
Now sk_route_caps is u64, its dangerous to use an integer to store
result of an AND operator. It wont work if NETIF_F_SG is moved on the
upper part of u64.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found