]> git.baikalelectronics.ru Git - kernel.git/commit
Network Drop Monitor: Fix skb_kill_datagram
authorJohn Dykstra <john.dykstra1@gmail.com>
Fri, 8 May 2009 21:57:01 +0000 (14:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 May 2009 21:57:01 +0000 (14:57 -0700)
commita0d5659fa9505124afe1770c0496b817681283b2
treec7bce44046a1e10577bc324740d97f3449107476
parent8cd934224153364341bf3b92f91f9bf1fd4035e8
Network Drop Monitor: Fix skb_kill_datagram

Commit ee6aa79e73b115f5028af0b9913ac6e6afcf4428 ("Network Drop Monitor:
Adding kfree_skb_clean for non-drops and modifying end-of-line points
for skbs") established new conventions for identifying dropped packets.

Align skb_kill_datagram() with these conventions so that packets that
get dropped just before the copy to userspace are properly tracked.

Signed-off-by: John Dykstra <john.dykstra1@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/datagram.c