]> git.baikalelectronics.ru Git - kernel.git/commit
net: always dump full packets with skb_dump
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 5 Oct 2020 14:48:38 +0000 (17:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2020 13:14:02 +0000 (06:14 -0700)
commit47a88559f7b6927cebb893735420ca998a3c1548
tree34bd6553f0fb82acce9da0b40bd82752c648becb
parent4a85a761d3e565f13829f3841663269b203a8e57
net: always dump full packets with skb_dump

Currently skb_dump has a restriction to only dump full packet for the
first 5 socket buffers, then only headers will be printed. Remove this
arbitrary and confusing restriction, which is only documented vaguely
("up to") in the comments above the prototype.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c