Repository navigation
Commit 91269e3
vxlan: using pskb_may_pull as early as possible
pskb_may_pull should be used to check if skb->data has enough space,
skb->len can not ensure that.
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent ce6502a commit 91269e3
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1437 | 1437 | | |
1438 | 1438 | | |
1439 | 1439 | | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
1443 | 1440 | | |
1444 | 1441 | | |
1445 | 1442 | | |
| |||
1880 | 1877 | | |
1881 | 1878 | | |
1882 | 1879 | | |
1883 | | - | |
| 1880 | + | |
| 1881 | + | |
1884 | 1882 | | |
1885 | 1883 | | |
1886 | 1884 | | |
| |||
0 commit comments