summaryrefslogtreecommitdiffstats
path: root/net/core/link_watch.c
diff options
context:
space:
mode:
authorDavid S. Miller2005-05-04 01:15:59 +0200
committerDavid S. Miller2005-05-04 01:15:59 +0200
commit0f4821e7b93fe72e89b8ff393bd8e705bd178aa5 (patch)
treee9116a4ce6593b186c3962fcdc5baf73f243d0b5 /net/core/link_watch.c
parent[NETLINK]: Fix infinite loops in synchronous netlink changes. (diff)
downloadkernel-qcow2-linux-0f4821e7b93fe72e89b8ff393bd8e705bd178aa5.tar.gz
kernel-qcow2-linux-0f4821e7b93fe72e89b8ff393bd8e705bd178aa5.tar.xz
kernel-qcow2-linux-0f4821e7b93fe72e89b8ff393bd8e705bd178aa5.zip
[XFRM/RTNETLINK]: Decrement qlen properly in {xfrm_,rt}netlink_rcv().
If we free up a partially processed packet because it's skb->len dropped to zero, we need to decrement qlen because we are dropping out of the top-level loop so it will do the decrement for us. Spotted by Herbert Xu. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/link_watch.c')
0 files changed, 0 insertions, 0 deletions