summaryrefslogtreecommitdiff
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorjamal <hadi@cyberus.ca>2010-06-04 02:06:22 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-06-07 08:10:44 (GMT)
commit271c1dfa61bc90a57648ff96f3eb92d4b4d4f11e (patch)
tree4c49a74ec730279a6aa0fe05eeedb1f652f73a03 /include/net/ip.h
parent9dacaf17a60101a55d456cc7b00e269d8145aa0d (diff)
downloadlinux-271c1dfa61bc90a57648ff96f3eb92d4b4d4f11e.tar.xz
net: Remove unnecessary net action assertion
The extra assertion to allow packet munging only when there are no other ptypes listening which may have worked around an old bug is unnecessary. It is sufficient to check if the skb is cloned before trampling on it. Thanks to Herbert Xu for being persistent and patient in getting this across. [Note that cloning checks and assertions are the general rule used by tc actions (documentation/networking/tc-actions-env-rules.txt)]. Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
0 files changed, 0 insertions, 0 deletions