summaryrefslogtreecommitdiffstats
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-09 23:41:06 +0000
committerDavid S. Miller <davem@davemloft.net>2012-12-10 13:51:44 -0500
commit1bf3751ec90cc3174e01f0d701e8449ce163d113 (patch)
treee625d411db647c59274e74d664c903bb5bb6b502 /Documentation/i2c
parent5e1f54201cb481f40a04bc47e1bc8c093a189e23 (diff)
downloadblackbird-obmc-linux-1bf3751ec90cc3174e01f0d701e8449ce163d113.tar.gz
blackbird-obmc-linux-1bf3751ec90cc3174e01f0d701e8449ce163d113.zip
ipv4: ip_check_defrag must not modify skb before unsharing
ip_check_defrag() might be called from af_packet within the RX path where shared SKBs are used, so it must not modify the input SKB before it has unshared it for defragmentation. Use skb_copy_bits() to get the IP header and only pull in everything later. The same is true for the other caller in macvlan as it is called from dev->rx_handler which can also get a shared SKB. Reported-by: Eric Leblond <eric@regit.org> Cc: stable@vger.kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud