commit | 690e99c4ba73fc18643b38fa032022b8758ad4d3 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Mon Nov 28 00:27:47 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 28 18:58:24 2011 -0500 |
tree | 73745636f1b9cab69eb2738f84f4b0d4cb36db5f | |
parent | 8b7ff200010600ef7cd9d002f9f8f97edfc7578e [diff] |
tcp: tcp_sendmsg() wrong access to sk_route_caps 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>